package com.beibei.file.bean;

/**
 * 用户登录访问文件类
 * 
 * @author 309814490@qq.com
 * @since 2014-02-12
 */
public class JdbcFile extends BaseFile {
	private static final long serialVersionUID = 1228300357405583105L;
	private String sql;

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String getValue() {
		StringBuilder builder = new StringBuilder();

		builder.append(this.getRandId());
		builder.append(";").append(this.getServerIp());
		builder.append(";").append(this.getClientIp());
		builder.append(";").append(this.getClassName());

		builder.append(";").append(this.sql);
		builder.append(";").append(this.getStartTime());
		builder.append(";").append(this.getEndTime());
		builder.append(";").append(this.getCount());

		return builder.toString();
	}

}
